package com.gh.pattern.template;

public abstract class Zhuzhou {
    public final void create() {
        //1、找锅
        zhaoguo();
        //2、把想加的东西加进去
        jiadongxi();
        //3、放水煮
        kaishizhu();

    }

    private void kaishizhu() {
        System.out.println("现在开始煮了");
    }

    private void zhaoguo() {
        System.out.println("找到了一个锅");
    }

    public abstract void jiadongxi();
}
